﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace EnvironmentManagerSystem.HuanJing
{
    public partial class aaaaaaa : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Button1.Attributes.Add("onclick", "window.open('http://125.211.221.215:8881/converttopdf?file=e:/aork/aost.xls','winname','width=300,height=200,top=0,left=0');return false");
        }
        
        protected void Button1_Click(object sender, EventArgs e)
        {
            Label1.Text = "sdfdsfdsfds";
            //string Url = "http://127.0.0.1:8881/converttopdf?file=d:/aork/aost.xls";
            string Url = "http://125.211.221.215:8881/converttopdf?file=e:/aork/aost.xls";

            //Button1.OnClientClick = "window.open('"+Url+"');";

            Response.Write("window.open('"+Url+"');");
 
            
            

            //Button1.OnClientClick = "window.open('http://127.0.0.1:8881/converttopdf?file=d:/aork/aost.xls','','toolbar=no');";

        }
       
    }
}
